import request from '@/utils/request'


export function addReq(repairReqDTO) {
    return request({
        url: '/repair/addReqByDTO',
        method: 'POST',
        data: repairReqDTO
    })
}

/**
 * 获取出库信息列表
 */
export function getReqList(pageNo, size, tab) {
    return request(({
        url: '/repair/getReqList',
        method: 'get',
        params: {pageNo: pageNo, size: size, tab: tab}
    }))
}
